package com.example.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@Schema(description = "板块信息")
public class Board {
    @Schema(description = "板块id")
    private Long id;

    @Schema(description = "板块名称")
    private String name;

    @Schema(description = "所属板块下文章数量")
    private Integer articleCount;

    @Schema(description = "板块排序优先级")
    private Byte sort;

    @Schema(description = "板块状态，0正常，1禁言")
    private Byte state;

    @Schema(description = "板块删除状态，0否，1是")
    private Byte deleteState;

    private Date createTime;

    private Date updateTime;
}